home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 1 (Walnut Creek)
/
Aminet - June 1993 [Walnut Creek].iso
/
aminet
/
gfx
/
3d
/
rayshade40_enh2.lha
/
ENHANCE
/
gradient.doc
< prev
next >
Wrap
Text File
|
1992-07-12
|
2KB
|
51 lines
Useage:
texture gradient surf1 surf2 [<GradShape>] [start stop] [<GradType>]
[random]
GradShape
planar /* default */
radial
sperical
GradType
linear /* default */
log
revlog
This texture blends two surfaces between two shapes in space. The
default is to blend between two planes, starting a z = 0 and stoping at z = 1.
The default is a linear blend between planes so that at z = .75 the surface
will be .25*surf1 + .75*surf2.
The GradShape option specifies the "shape" of the volume to which
the texture will be applied. "planar" designates that the blend will be
between two planes perpendicular to z axis. "radial" designates that the blend
will be between two cylinders parralel to the z axis. "spherical" designates
that the blend will be between two spheres centered at the origin.
"start" and "stop" define the starting and stoping distances for the
gradient. For the planar designation, the gradient will be applied from the
z = start to the z = stop planes. For the radial designation, the gradient
will be applied from the cyliners r = start to r = stop where r equals the
distance from the z axis. For the spherical designation, the gradient will
be applied for the spheres r = start to r = stop where r equals the distance
from the origin.
GradType specifies the type of blend. "planar" will produce a linear
blend between the two surfaces. "log" will produce a logarithmic looking
blend where the first surface is quickly changed to the second. "revlog" will
produce the opposite of "log" and will slowly change the first surface to the
second.
"random" produces a blotchy gradient texture that is similar to the
"blotch" texture.
Any comments, bug reports, or suggestions for changes or improvements
will be greatly appreciated.
---Larry Coffin
lcoffin@clciris.chem.umr.edu